Optimal. Leaf size=59 \[ \frac {x^2}{4}-\frac {x \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{2 a}+\frac {\sinh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \sinh ^{-1}(a x)^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5776, 5812,
5783, 30} \begin {gather*} -\frac {x \sqrt {a^2 x^2+1} \sinh ^{-1}(a x)}{2 a}+\frac {\sinh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \sinh ^{-1}(a x)^2+\frac {x^2}{4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5776
Rule 5783
Rule 5812
Rubi steps
\begin {align*} \int x \sinh ^{-1}(a x)^2 \, dx &=\frac {1}{2} x^2 \sinh ^{-1}(a x)^2-a \int \frac {x^2 \sinh ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx\\ &=-\frac {x \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{2 a}+\frac {1}{2} x^2 \sinh ^{-1}(a x)^2+\frac {\int x \, dx}{2}+\frac {\int \frac {\sinh ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx}{2 a}\\ &=\frac {x^2}{4}-\frac {x \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{2 a}+\frac {\sinh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \sinh ^{-1}(a x)^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 53, normalized size = 0.90 \begin {gather*} \frac {a^2 x^2-2 a x \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)+\left (1+2 a^2 x^2\right ) \sinh ^{-1}(a x)^2}{4 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.08, size = 59, normalized size = 1.00
method | result | size |
derivativedivides | \(\frac {\frac {\left (a^{2} x^{2}+1\right ) \arcsinh \left (a x \right )^{2}}{2}-\frac {a x \arcsinh \left (a x \right ) \sqrt {a^{2} x^{2}+1}}{2}-\frac {\arcsinh \left (a x \right )^{2}}{4}+\frac {a^{2} x^{2}}{4}+\frac {1}{4}}{a^{2}}\) | \(59\) |
default | \(\frac {\frac {\left (a^{2} x^{2}+1\right ) \arcsinh \left (a x \right )^{2}}{2}-\frac {a x \arcsinh \left (a x \right ) \sqrt {a^{2} x^{2}+1}}{2}-\frac {\arcsinh \left (a x \right )^{2}}{4}+\frac {a^{2} x^{2}}{4}+\frac {1}{4}}{a^{2}}\) | \(59\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 81, normalized size = 1.37 \begin {gather*} \frac {1}{2} \, x^{2} \operatorname {arsinh}\left (a x\right )^{2} + \frac {1}{4} \, a^{2} {\left (\frac {x^{2}}{a^{2}} - \frac {\log \left (a x + \sqrt {a^{2} x^{2} + 1}\right )^{2}}{a^{4}}\right )} - \frac {1}{2} \, a {\left (\frac {\sqrt {a^{2} x^{2} + 1} x}{a^{2}} - \frac {\operatorname {arsinh}\left (a x\right )}{a^{3}}\right )} \operatorname {arsinh}\left (a x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 73, normalized size = 1.24 \begin {gather*} \frac {a^{2} x^{2} - 2 \, \sqrt {a^{2} x^{2} + 1} a x \log \left (a x + \sqrt {a^{2} x^{2} + 1}\right ) + {\left (2 \, a^{2} x^{2} + 1\right )} \log \left (a x + \sqrt {a^{2} x^{2} + 1}\right )^{2}}{4 \, a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.12, size = 51, normalized size = 0.86 \begin {gather*} \begin {cases} \frac {x^{2} \operatorname {asinh}^{2}{\left (a x \right )}}{2} + \frac {x^{2}}{4} - \frac {x \sqrt {a^{2} x^{2} + 1} \operatorname {asinh}{\left (a x \right )}}{2 a} + \frac {\operatorname {asinh}^{2}{\left (a x \right )}}{4 a^{2}} & \text {for}\: a \neq 0 \\0 & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int x\,{\mathrm {asinh}\left (a\,x\right )}^2 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________